Subroutine to calculate the maximum of a real array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | dimension(:) | :: | a | |||
| real(kind=wp) | :: | mx | 
Subroutine to find the position of the maximum value of a real array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | dimension(:) | :: | a | 
                 A real array  | 
        ||
| real(kind=wp) | :: | mx | 
                 A real value with the maximum  | 
        |||
| integer | :: | p | 
                 An integer value with the position of the maximum  |